package com.example.alpho.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author fangyf18371
 * date：2018/7/27 13:48
 * description：配置demo
 */
@Component
@ConfigurationProperties(prefix = "data.test")
public class DemoConfig {
    private String envName;
    private String envIPConfig;

    public String getEnvName() {
        return envName;
    }

    public void setEnvName(String envName) {
        this.envName = envName;
    }

    public String getEnvIPConfig() {
        return envIPConfig;
    }

    public void setEnvIPConfig(String envIPConfig) {
        this.envIPConfig = envIPConfig;
    }
}
